//
//  PBEThreadWrapper.cpp
//  pork-belly-engine
//
//  Created by Park Han Young on 11. 11. 14..
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import "PBEThreadWrapper.h"

@implementation ThreadWrapper

- (id)initWithRoutine:(void*(*)(void*))_routine Arg:(void*)_arg
{
	if(!(self = [super init]))
		return nil;
	
	arg = _arg;
	routine = _routine;
	
	return self;
}

- (void)run:(void*)_arg
{
	[self release];
}

@end
